import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from "./router/index"
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"
import './pattern/scss.scss'
import 'nprogress/nprogress.css'
import '@/guard/login.js'
let pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
let app = createApp(App)
app.use(pinia)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
